package dao;

import entity.User;

import java.util.List;

public interface UserDao {

    public void insert(User user);

    public void deleteById(Integer id);

    public void update(User user);

    public List<User> selectAll();

    public User selectById(Integer id);

    public Integer save(User user);

}
